package com.treeHole.treeHoleServer.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;


//用户评论实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer commentId;
    private Integer postId;
    private Integer userId;
    private String userName;//用户在该评论下的名称(随机生成)
    private String content;
    private String commentDate;//评论时间
    private Boolean isDeleted;

    private Integer commentType;
    private Integer reCommentId;
    private Integer reUserId;
}
